package misscl.online.slh_gym.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author theo
 * @since 2022/11/28 22:16
 */
@Getter
@Setter
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("阿里用户id")
    @TableField("ali_id")
    private String aliId;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("头像")
    @TableField("head_image")
    private String headImage;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("实名认证")
    private String auth;

    @ApiModelProperty("积分")
    private Integer score;

    @ApiModelProperty("注册时间")
    @TableField("reg_time")
    private String regTime;

    @ApiModelProperty("0女1男")
    private String sex;


}
